using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for CAdmin_CurentContext
/// </summary>
public class CAdmin_CurentContext
{
	public CAdmin_CurentContext()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public static bool IsLoggedAdmin
    {

        get { return HttpContext.Current.Session["Admin"] != null; }
    }
    public static string UserNameAdmin
    {
        get { return HttpContext.Current.Session["Admin"].ToString(); }
    }
}
